class CreateUserFields < ActiveRecord::Migration
  def self.up
    add_column :questions,      :creator_id, :integer
    add_column :categories,     :creator_id, :integer
    add_column :questionnaires, :creator_id, :integer
  end

  def self.down
    remove_column :questions,      :creator_id
    remove_column :categories,     :creator_id
    remove_column :questionnaires, :creator_id
  end
end
